#include "driverlib.h"
#include <stdint.h>
#include <stdbool.h>
#include "delay.h"
#include "system.h"
#include "pwm.h"


int main(void)
{
    SysInit();
	delay_init();
	pwm_init();
    while (1)
    {
		delay_ms(1000);
		Timer_A_setCompareValue(TIMER_A1_BASE,TIMER_A_CAPTURECOMPARE_REGISTER_1,4800/5-1);
		delay_ms(1000);
		Timer_A_setCompareValue(TIMER_A1_BASE,TIMER_A_CAPTURECOMPARE_REGISTER_1,4800/4-1);
		delay_ms(1000);
		Timer_A_setCompareValue(TIMER_A1_BASE,TIMER_A_CAPTURECOMPARE_REGISTER_1,4800/2-1);
    }
}


